package com.tshopping.service;


import com.tshopping.bean.Address;
import com.tshopping.util.ResponseData;

import java.util.ArrayList;

public interface AddressService {
    ResponseData addAddress(String name, String phone, String address, int user, String province, String city, String district);

    ResponseData getUserAddresses(int user);

    ResponseData updateAddress(String name,String phone,String address,String province,String city,String district,int id);

    ResponseData updateDefault(int newId,int oldId);

    ResponseData addDefault(int newId);

    ResponseData deleteAddress(int id);

    ResponseData selectDefault(int user);

}
